import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
	routes: [{//跟团游
		path: '/',
		name: 'index',
		component: (resolve) => require(['@/views/groupline/index'], resolve)
	},{//跟团游
		path: '/index',
		name: 'index',
		component: (resolve) => require(['@/views/groupline/index'], resolve)
	},{//跟团游详情页
		path: '/groupline-detail',
		name: 'groupline-detail',
		component: (resolve) => require(['@/views/groupline/groupline-detail'], resolve)
	},{
		path: '/404',
		name: '404',
		component: (resolve) => require(['@/views/groupline/404'], resolve)
	},{
		path: '/test',
		name: 'test',
		component: (resolve) => require(['@/views/test'], resolve)
	}]
})
